package com.burgeon.backend.service;


import com.burgeon.backend.entity.Account;
import com.burgeon.backend.entity.Info;
import com.burgeon.backend.service.ex.GetUserDataException;
import com.burgeon.backend.service.ex.InsertException;
import com.burgeon.backend.service.ex.PasswordNotMatchException;
import com.burgeon.backend.service.ex.UserNotFoundException;



public interface BackendService {

    //返回系统类型
    String BosOrXe(String account);

    Account Login(String account, String password)throws UserNotFoundException, PasswordNotMatchException;

    Info InsertInfo(Info info,String account) throws InsertException;

    Info GetInfoData(String account) throws GetUserDataException;

    void ModPassword(String account,String olepassword,String newpassword) throws PasswordNotMatchException;
}
